export interface SrnQueryParams {
    current: number;
    size: number;
    type: string;
    keyword?: string;
}

export interface SrnRecord {
    id: string;
    create_time: string;
    update_time: string;
    tenant_id: string;
    delete_flag: boolean;
    customer_id: string;
    customer_num: string;
    customer_name: string;
    srn_num: string;
    srn_type: number;
    create_user_id: string;
    create_user_name: string;
    state: string;
    srn_date: string;
    srn_month: string;
    srn_week: string;
    srn_year: string;
    odd_id: string | null;
    odd_num: string | null;
    odd_time: string | null;
    body_list: SrnBodyItem[];
}

export interface SrnBodyItem {
    id: string;
    create_time: string;
    update_time: string;
    tenant_id: string;
    delete_flag: boolean;
    srn_header_id: string;
    srn_num: string;
    srn_type: number;
    customer_id: string;
    customer_num: string;
    customer_name: string;
    odd_id: string | null;
    odd_num: string | null;
    odd_time: string | null;
    create_user_id: string;
    create_user_name: string;
    product_id: string;
    product_short_name: string;
    product_name: string;
    product_model: string;
    sku_id: string | null;
    sku: string | null;
    product_encode: string;
    product_specs: string;
    product_bar_code: string;
    product_link: string | null;
    quantity: number;
    pick_quantity: number;
    real_quantity: number;
    state: number;
    send_time: string;
    send_date: string;
    confirm_time: string | null;
    confirm_date: string | null;
    deliver_time: string | null;
    deliver_date: string | null;
    deliver_user_id: string | null;
    deliver_user_name: string | null;
    pick_time: string | null;
    pick_date: string | null;
    pick_user_id: string | null;
    pick_user_name: string | null;
    batch_num: string | null;
    delivery_remark: string | null;
    sign_quantity: number;
    sign_time: string | null;
    sign_date: string | null;
    outstore_quantity: number;
    tester_user_id: string | null;
    tester_user_name: string | null;
    fatal_quantity: number;
    oqc_state: number;
    check_state: number;
    srn_date: string;
    srn_month: string;
    srn_week: string;
    srn_year: string;
}

export interface SrnData {
    records: SrnRecord[];
    total: number;
    size: number;
    current: number;
    pages: number;
}

export interface SrnResponse {
    msg: string;
    code: number;
    data: SrnData;
} 